<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="__HUI__/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__HUIADMIN__/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__LIB__/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__HUIADMIN__/skin/blue/skin.css" id="blue" />
<link rel="stylesheet" type="text/css" href="__HUIADMIN__/css/style.css" />
<link rel="stylesheet" type="text/css" href="__HUIADMIN__/common.css" />
<script type="text/javascript" src="__LIB__/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="__LIB__/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__HUI__/js/H-ui.min.js"></script>
<script type="text/javascript" src="__HUIADMIN__/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="__HUIADMIN__/common.js"></script>
<script type="text/javascript" src="__LIB__/laydate5.0.9/laydate.js"></script>
{$config.load_file.css|raw}
<style>
input[type=text], select,textarea {width: 150px;padding: 12px 20px;display: inline-block;border: 1px solid #ccc;border-radius: 4px;box-sizing: border-box;}
input,select{padding: 5px 5px;display: inline-block;border: 1px solid #ccc;border-radius: 4px;box-sizing: border-box;}
</style>
{$config.g_js|raw}
{$config.load_file.js|raw}

<title>{$config.title ?? '超级表单开发平台'} </title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> {$title ?? '超级表单开发平台'} 
 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
<div class="text-l">
	<span class="l">
		<a href="javascript:;" onclick="layer_show('新增','{:url('index/sfdp/add',['sid'=>$config.sid])}','850','500')" class="btn btn-primary radius">新增</a>
	</span>
	<form action="" method="post" name="form" id="form">
	<input type="hidden" readonly name="search" value="{$config['search']}">
	<span class=" ml-5">
	<span id='search'></span>
	
	</span>
	</form>
</div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            <th width="25"><input type="checkbox"></th>
			{volist name='config.field' id='k'}
            <th>{$k}</th>
			{/volist}
            <th width="70">操作</th>
        </tr>
        </thead>
        <tbody>
       {volist name='list' id='k'}
        <tr class="text-c">
            <td><input type="checkbox" name="id[]" ></td>
			{volist name='config.field' id='ks'}
            <td>{$k["$key"]|raw}</td>
			{/volist}
             <th width="70">
			 <div class="btn-group">
			 
					<a onClick="commonfun.openfullpage('查看','{:url('/index/sfdp/sfdp_view',['sid'=>$config.sid,'bid'=>$k.id])}')"	class="btn  radius size-S">查看</a>
					
				</div>
			 </th>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page ?? ''}</div>
</div>
</body>
</html>
	<script src="__SFDP__/js/sfdp.view.js"></script>
	<script src="__SFDP__/js/sfdp.field.js"></script>
	<script src="__SFDP__/js/sfdp.fun.js"></script> 
<script>
  $( function() {
		showlist({$config['search']|raw});
	});
</script>